home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / drdtips.zip / 1602.TXT < prev    next >
Text File  |  1992-02-10  |  21KB  |  442 lines

  1. Document 1602
  2. Windows 3.0
  3.  
  4. Description:
  5.  
  6.  Overview
  7.  
  8. This document tries to address many of the questions that we
  9. have received regarding Windows compatibility. DR DOS 6 is
  10. compatible with Windows 3.0 and 3.0A in all 3 modes. DR DOS 6 is
  11. a feature rich operating system and many of the utilities that
  12. are a part of DR DOS
  13.  
  14. have special configuration requirements when running with
  15. Windows. This document will address DR DOS 6 installation and
  16. those utilities most commonly used with Windows and how to
  17. configure them for optimum performance. Also because end-users
  18. will have various hardware
  19.  
  20. configurations we will also discuss what type of hardware
  21. requirements are necessary to properly run Windows. Finally,
  22. there will be a list of the most common problems detected and
  23. how to correct them.
  24.  
  25.  Windows' Requirements
  26.  
  27. Microsoft Windows 3.0 is designed to run on only 286, 386SX, 386
  28. and 486 computers. It has 3 modes of operation. The most basic
  29. is called Real Mode. This mode will run with only 640K of RAM
  30. but it will also make use of EMS memory if available. The EMS
  31. memory can be provided
  32.  
  33. with either a third party memory manager or via EMM386.SYS. Real
  34. Mode is also used to create or delete Windows permanent swap
  35. files which we will discuss later. Windows Standard mode
  36. requires there be at least 1 Megabyte of total memory and the
  37. presence of an XMS memory manager such as HIDOS.SYS or
  38. EMM386.SYS. Enhanced Mode will only run on a 386SX or better CPU
  39. and requires a minimum of 1 Megabyte of XMS memory to function.
  40. If you are not sure what mode you are using you can find out by
  41. selecting the HELP menu from the Windows Program Manager. Select
  42. ABOUT PROGRAM MANAGER and you will see a dialog box that
  43. indicates the mode you are currently using.
  44.  
  45.  What Selections to Make in Install
  46.  
  47. The DR DOS Install program will have some sections that you will
  48. need to configure carefully if you are going to run Windows. 
  49.  
  50. The MemoryMAX section of Install will first ask if you would
  51. want Memory Support. We recommend that you say YES unless you
  52. intend to use a third party memory manager such as QEMM or 386
  53. to the MAX. Near the bottom of the screen there will be a couple
  54. of asterisks (*). These indicate the type of CPU that you have
  55. and the amount of extended memory the Install program detects on
  56. your computer. The total amount of extended memory will be
  57. critical for running Windows so we will make recommendations for
  58. computers with 2, 3 and 4 Megabytes.  Systems with more than 4
  59. Megabytes can use recommendations for 4 Megabyte computers.
  60.  
  61. The next screen on 386 and 486 machines will have some important
  62. selections. There will be a line concerning LIM 4.0 support. The
  63. LIM 4.0 EMS support is not required by Windows except for Real
  64. Mode. If you do not have any DOS applications that require EMS
  65. memory, select NO. If you use Windows Enhanced Mode as a Shell
  66. for running your DOS programs, Windows itself can provide your
  67. DOS applications with EMS memory, you can also say NO to EMS
  68. Support (see the Windows documentation on how to PIF edit a DOS
  69. application for EMS support). Saying NO to EMS support will give
  70. you an additional 64K of Upper Memory (the size of the page
  71. frame) for use in Hiloading drivers. If you have applications
  72. that require EMS memory and you do not use Windows Enhanced Mode
  73. as a DOS Shell, select YES and then enter the amount of EMS
  74. memory that you wish to create. DR DOS's EMM386 uses extended
  75. memory as a pool for use as both XMS and EMS memory. The amount
  76. of EMS memory you specify will cause EMM386.SYS to convert all
  77. of the memory pool into Extended via XMS, and will then lend
  78. from that XMS memory for EMS to use up to the amount specified.
  79. Also on this screen will be a line for support of Windows in
  80. Standard Mode. This switch will have serious repercussions on
  81. available DOS memory so a YES answer is not always appropriate.
  82. EMM386.SYS cannot provide upper memory support and run Windows
  83. in Standard Mode. This is a Windows limitation. If you choose
  84. YES, EMM386 will disable all upper memory. You will not be able
  85. to Hiload device drivers although you can still use the High
  86. Memory Area (HMA) for relocation of DOS and its structures. If
  87. you regularly use Windows in Standard Mode you should say YES
  88. here. There will be an impact on available conventional memory
  89. but since Windows will use your total system memory it will not
  90. affect Windows applications. DOS applications, however,  may be
  91. impacted. If you regularly use Windows in Enhanced Mode or Real
  92. Mode you can say NO.
  93.  
  94. Note: Some Windows applications use Standard Mode to install
  95. from. If you have an install program that suddenly aborts when
  96. it tries to run Windows it may be trying to use Standard Mode.
  97. Go Back through SETUP and say YES to using Standard Mode. 
  98.  
  99. For both 286 and 386 installations you will be asked if you want
  100. to use Spare Video Memory. This is a special switch for
  101. HIDOS.SYS and EMM386 that will take video memory addresses and
  102. assign them to  conventional memory. This means that you can
  103. only run text based applications if you say YES to this option
  104. and then run MEMMAX +V. We recommend that you say NO to this
  105. option as Windows will not run if video memory is used for DOS.
  106.  
  107. The DiskMAX section of the Install program can also have an
  108. impact on Windows performance. Drivers such as SuperPCK and
  109. VDISK can run from extended memory so care must be exercised in
  110. deciding how large to create these systems. 
  111.  
  112. VDISKS
  113.  
  114. A VDISK can be used for the storage of Windows temporary files
  115. and is used in this manner to speed up Windows performance.
  116. Because Windows uses such large temporary files a VDISK  must be
  117. several megabytes in size or Windows will fail when the VDISK is
  118. full. It is therefore not recommended for computers with less
  119. than 8 megabytes of RAM. If you use a VDISK for other purposes
  120. then all you need do is make sure that you have enough memory
  121. left to run the correct mode of Windows. Typing "MEM" at a DOS
  122. prompt will give you the total amount of available conventional
  123. and XMS memory. Remember that Windows Enhanced Mode will require
  124. at least 1 Megabyte of XMS memory available. Computers with only
  125. 2 Megabytes or less of total memory should not use a VDISK if
  126. they wish to run Windows in Enhanced Mode.
  127.  
  128. SUPERPCK
  129.  
  130. SuperPCK is probably the most needed and most commonly
  131. misconfigured DiskMAX application for use with Windows. Windows
  132. users with 2 Megabytes or less of total memory who wish to run
  133. in Enhanced Mode should not use SuperPCK because of their
  134. limited memory resources. 
  135.  
  136. When you say yes to SuperPCK you will see an additional screen
  137. with some configuration selections. Windows users should always
  138. say YES to the selection that asks if you run Windows in
  139. Standard or Enhanced Mode. This will configure SuperPCK to use
  140. XMS memory instead of EMS memory and will place the PCKWIN.SYS
  141. driver in the CONFIG.SYS. The PCKWIN.SYS driver is mandatory for
  142. running Windows in Standard or Enhanced Mode with SuperPCK. The
  143. next selection will be whether or not to use Automatic Memory
  144. Allocation. If this selection is YES (default) then SuperPCK
  145. will use all of the available XMS memory and will lend half of
  146. that amount back to Windows. We recommend that this option
  147. should only be used on computers with 4 or more Megabytes of
  148. total memory. If Automatic Allocation is YES then the next line
  149. will ask for an amount of RAM to reserve. This option will
  150. reserve the specified amount of memory for use by other
  151. applications and prevent SuperPCK from using this memory.
  152. Lending is still valid. On computers with less than 4 megabytes
  153. total memory or for machines where users wish to limit the size
  154. of the cache Automatic Memory Allocation should be NO. This will
  155. change the next couple of options you see on the screen. You
  156. will now see selection boxes for the Cache Size and the Lending
  157. Amount. Users with 3 megabytes systems will be very close to the
  158. minimum needed to run Windows in Enhanced Mode. Make sure the
  159. size of the cache and the lending amount give you enough memory
  160. to run in the mode that you use. 
  161.  
  162. For example: A 4 Megabyte computer can use SuperPCK with a 3
  163. Megabyte cache size and 2 megabytes of lending. This means that
  164. when Windows runs the cache will be reduced to 1 megabyte
  165. (because of lending) and Windows will have 2 megabytes of XMS
  166. memory to use (the 1st megabyte is DOS conventional memory).
  167.  
  168. Examples:
  169.  
  170. SUPERPCK /EM /R:1024
  171.  
  172. These parameters instruct SuperPCK to use all XMS memory less 1
  173. megabyte. On a system with 3 megabytes of XMS memory Superpck
  174. will use 2 megabytes. Half of that amount (1 megabyte) will
  175. still be available for lending. This gives Windows a total of 2
  176. megabytes to use. Lending can be turned off with the switch /L-.
  177.  
  178. SUPERPCK /EM /L:1024
  179.  
  180. These parameters will instruct SuperPCK to lend 1 megabyte of
  181. memory no matter what the size of the cache is. This parameter
  182. could conceivably be more or less than half of the total cache
  183. size (default).
  184.  
  185. SUPERPCK /EM /S:1024
  186.  
  187. These parameters will restrict the size of the cache to only 1
  188. megabyte. Any additional XMS memory will not be used by the
  189. cache. Half of the cache is still available for lending unless
  190. the /L- switch is used.
  191.  
  192. SUPERSTOR
  193.  
  194. We cannot emphasize enough the importance of not having Windows
  195. permanent swapfiles on a SuperStored drive. If you use a
  196. permanent swap file make sure that you leave 5 to 10 megabytes
  197. of uncompressed disk space for this file. 
  198.  
  199. Note: The Windows permanent swap file does not have to be
  200. located on the same drive as Windows. To find out if you have a
  201. permanent swapfile follow the steps in the example below.
  202.  
  203. Example:
  204.  
  205.     1) Start Windows in real mode : WIN /R
  206.     2) From the Program Manager select the FILE menu.
  207.     3) select RUN
  208.     4) Key in SWAPFILE
  209.  
  210. If a permanent swapfile exists you will see a dialog box asking
  211. you if it is ok to delete the permanent swapfile. If one does
  212. not exist the dialog will ask you if you want to create one. It
  213. is important to remove permanent swap files before compressing
  214. your disk. You can then recreate the swapfile on the
  215. uncompressed drive after the SuperStor drive has been created.
  216.  
  217. Remember to leave enough uncompressed disk to create the
  218. permanent swap file. The SuperStor default is about 500k which
  219. is not enough for a permanent swapfile. We would also recommend
  220. that Windows temporary files be created on the uncompressed disk
  221. (the environment variable TEMP determines where Windows will
  222. create its temporary files). Endusers should DISKOPT their drive
  223. fairly regularly to remove any free spaces created when the
  224. temporary swap files are deleted.
  225.  
  226.  Getting the Most From Windows
  227.  
  228. End-users with 2 megabyte systems should also refrain from
  229. loading DOS into High Memory if they wish to run in Enhanced
  230. Mode. Since Windows requires 1 megabyte of XMS memory to run in
  231. Enhanced Mode you cannot use any of the HMA. To keep DR DOS 6.0
  232. out of the HMA you will need to:
  233.  
  234. 1)  Make sure that the /MH option is not used on any of the DR
  235. DOS 6.0 commands that support it.  This includes SHELL, SHARE
  236. and DELWATCH. Use the /MU option instead on these files. If no
  237. switch is used then DR DOS will try to locate them in the
  238. highest memory position by default. This means that you must use
  239. the /MU switch on these commands to keep them out of the HMA.
  240.  
  241. 2)  Make sure that the HIBUFFERS command is not used in the
  242. CONFIG.SYS file.  This Command will use the HMA even if the
  243. Kernel is not put there with /BDOS=FFFF. Use the command BUFFERS
  244. instead. 
  245.  
  246. 3)  Make sure that the /BDOS option reads: /BDOS=AUTO. 
  247.  
  248. Using these switches will still enable an end-user to move DR
  249. DOS structures outside of conventional memory while using
  250. EMM386. However, there is a trade-off. EMM386 does use some of
  251. the XMS memory as overhead and on a machine with 1 megabyte of
  252. extended memory this means that you will have about 800-900K
  253. available as XMS. You can force Windows into
  254.  
  255. Enhanced Mode by keying in "WIN /3" on the command line but
  256. application speed may be reduced due to additional disk access.
  257. If you feel it is absolutely imperative that you have 1 megabyte
  258. of XMS memory you can use HIDOS.SYS instead of EMM386.SYS with
  259. the parameter /B=AUTO. This will give you 1 Megabyte of XMS
  260. memory if you use the 3 steps outlined above.
  261.  
  262. Users with 3 megabyte system will be very close to the minimum
  263. needed to run Windows in enhanced mode but they should be able
  264. to use a small cache. VDISK would not be recommended. Use MEM
  265. and SUPERPCK /P to determine the total amount of XMS memory
  266. available. The SUPERPCK /P is the parameters listing of SuperPCK
  267. and the amount available for lending will be listed under the /L
  268. parameter. Make sure that the lending amount available is enough
  269. to enter the correct mode. 
  270.  
  271. Users with 4 megabyte systems need to be careful about any
  272. device drivers loaded that use extended memory of any type such
  273. as VDISKs. This will impact on the amount of memory available
  274. for SuperPCK to use and the amount it is able to lend. Systems
  275. with greater than 4 megabytes of memory will probably always
  276. have enough XMS memory available but again
  277.  
  278. other devices using any type of extended memory need to be
  279. considered. Also bear in mind that the less memory that is
  280. available to Windows means that fewer applications will be
  281. running before it has to move to a swapfile. Going to a swapfile
  282. usually means a decrease in the speed of
  283.  
  284. Windows. We have noticed that a good balance on performance is
  285. achieved when Windows has 2 megabytes or more of XMS memory.
  286.  
  287.  Common Problems
  288.  
  289.  - Windows begins but not in the mode that I was using
  290. previously.
  291.  
  292. First check available memory with the MEM command. Windows in
  293. Enhanced Mode will require 1024K (1 Megabyte) of available XMS
  294. memory to run. 
  295.  
  296. If you are unable to enter Standard Mode make sure that MEM
  297. indicates that you have no EXTENDED memory available. If you do
  298. then you are not using an XMS memory manager and one is required
  299. for Enhanced or Standard Mode. Make sure that you have
  300. HIDOS.SYS, EMM386.SYS or a third party XMS memory manager in
  301. your CONFIG.SYS file.
  302.  
  303. If you are using SuperPCK the command "SUPERPCK /P" will give
  304. you a listing of the parameters that are currently in use. The
  305. /L command will indicate the total amount of memory available
  306. for lending, the amount currently lent and the amount remaining
  307. to be lent. Make sure that the amount remaining is enough for
  308. the mode that you are trying to enter. Also, make sure that the
  309. cache is using XMS memory. This will be indicated by the /EM
  310. option.
  311.  
  312. If you are trying to use Enhanced Mode, Windows may not have
  313. enough memory and is trying to start in Standard Mode. Unless
  314. you have the /W option in EMM386.SYS Windows will not be able to
  315. run Standard mode and will abort. Try placing the /W switch in
  316. EMM386 and see if Windows starts. If it runs in Standard Mode
  317. then you need to use the suggestions listed in the previous
  318. discussion to find out why you are not entering Enhanced Mode. 
  319.  
  320. If the /W switch does not work check to see if your Windows TEMP
  321. directory has any files that begin with "~" and have the
  322. extension .SWP. If you do and you are not currently running
  323. Windows then delete them. These files are Windows temporary
  324. files and should have been deleted when you quit Windows. 
  325.  
  326. If you are using a permanent swapfile this file may have been
  327. corrupted. Try deleting the file and then creating a new one. 
  328.  
  329.  - Windows runs but it seems much slower than before.
  330.  
  331. Make sure that you are running in the correct mode. Use the
  332. ABOUT PROGRAM MANAGER dialog box on the Windows HELP menu to
  333. determine what mode you are using. If you are not in the correct
  334. mode use the above tips to determine why not.
  335.  
  336. Windows may be in the correct mode but you do not have enough
  337. XMS memory remaining and Windows is having to use swapfiles. Use
  338. MEM to find out your available XMS memory. If the figure is very
  339. near the minimum remember that DR DOS has several utilities that
  340. can use XMS memory. You may wish to change the size of a VDISK
  341. or cache to allow Windows to use more of your available RAM.
  342.  
  343. If you are using SuperPCK try increasing the lending amount (/L)
  344. or limiting the size of the cache (/S).  Also SuperPCK should
  345. not be used with VERIFY=ON in AUTOEXEC.BAT. You should use
  346. VERIFY=OFF.
  347.  
  348.  - When I start Windows a lot of strange characters appear on
  349. the screen and then it locks or drops back to DOS.
  350.  
  351. This one is unusual in that it generally happens on a SuperStor
  352. drive (or any other disk compression software that swaps disks)
  353. with a 3rd party memory manager. SuperStor has a utility called
  354. DEVSWAP.COM that swaps DOS drive letters around. This is so that
  355. if you compress a boot disk the applications that you have will
  356. still be installed to drive C: rather than the drive that was
  357. created by SuperStor. SuperStor boot disks will have an
  358. uncompressed segment where DOS can load from. This uncompressed
  359. drive will also have a file called DCONFIG.SYS. If you place
  360. your memory manager in the DCONFIG.SYS SuperStor will be able to
  361. move a portion of itself into upper memory. Caution: Do not try
  362. to HILOAD the entire SuperStor driver (it can relocate itself
  363. and only portions of it may go into upper memory). Windows will
  364. reinitialize a memory manager as it starts. To do so it will
  365. look for the driver on the drive from which it was originally
  366. loaded from. In the case of a swapped drive though, the driver
  367. may no longer be there and Windows will abort. This can be a
  368. confusing issue so here is a step by step sequence.
  369.  
  370. 1. A memory manager is loaded from C:\ (uncompressed segment of
  371. the disk)
  372. 2. The SuperStor driver is loaded creating a drive D:
  373. (compressed)
  374. 3. DEVSWAP.COM is run. This turns the drives around making
  375. uncompressed drive C: into drive D: and compressed D: into C:
  376. 4. Windows is run. As it initializes it looks for a memory
  377. manager in C:\ (which is where it was loaded in step 1) but the
  378. memory manager is no longer there. It is now in drive D: because
  379. of the swap. Windows aborts.
  380.  
  381. The solution to this is straightforward. Copy the memory manager
  382. into the same directory on the compressed drive that you loaded
  383. it from in the uncompressed drive. In the case above have a copy
  384. of the memory manager in both the compressed and uncompressed
  385. root directories ( C:\ & D:\ ). 
  386.  
  387. This situation does not generally occur with the DR DOS
  388. utilities HIDOS.SYS and EMM386.SYS because the DR DOS Install
  389. program makes sure that the driver is located in the DR DOS
  390. directory on both drives.
  391.  
  392. -I am experiencing difficulty shelling to DOS from Windows. It
  393. either locks or I get a message that I am out of environment
  394. space.
  395.  
  396. Check your environment from DOS by typing "SET". There should be
  397. a variable called COMSPEC and it should point to the either the
  398. root directory (preferred) or to the directory where DR DOS
  399. files are located. On a network this variable may point to your
  400. network DOS directory. Make sure that this is the correct
  401. directory and that DR DOS is located there. Check the SHELL
  402. statement and make sure that there is a /P statement and that an
  403. environment has been set ( /E:). Make sure that the environment
  404. size is large enough. Windows may need a fairly large
  405. environment size if you run several applications at the same
  406. time and it does add lines to the environment. It is not
  407. necessary to have a COMSPEC line in your AUTOEXEC.BAT with DR
  408. DOS as the shell statement will insert one.
  409.  
  410. If a third party memory manager is in use it is possible to
  411. receive an error loading a second command processor when you
  412. relocate COMMAND.COM to upper memory. Try loading COMMAND.COM 
  413. in conventional memory.
  414.  
  415. There may also be a TSR that is interfering with loading another
  416. command processor. Try removing TSR's from memory to see if you
  417. have a conflict.
  418.  
  419. If you have a large environment and still get the message "Out
  420. of Environment Space" you can edit the properties of the DOS
  421. PROMPT Icon and put a /E:(# of bytes) parameter in the command
  422. line. Editing the properties of the DOS PROMPT Icon can also
  423. help to eliminate the message "COMMAND.COM NOT FOUND". Windows
  424. does not place the full path on the filename. The command line
  425. only shows "COMMAND.COM". If you change that to be
  426. "C:\COMMAND.COM", for example, Windows will not use the DOS path
  427. to locate the file. This can also alleviate any message about
  428. "INVALID COMMAND.COM". This message is usually due to the fact
  429. that you have another DOS's command interpreter somewhere in
  430. your path.
  431.  
  432.  
  433. Final Words
  434.  
  435. An update to DR DOS 6.0 is currently being sent to all
  436. registered users. If you are still having conflicts with getting
  437. Windows to run with DR DOS you may need this update. To
  438. determine if you have the update already (the updated files are
  439. combined with DR DOS as we manufacture it) look at the date of
  440. your COMMAND.COM. A date of December 1991 or later means that
  441. you have the update.
  442.